package com.sharekitchen.entity;

import com.sharekitchen.common.MyConst;

import java.util.Date;

public class Order {
    private String orderId;
    private int userId;
    private String roomId;
    private int orderStatus;
    private String orderComments;
    private double star;
    private String orderTime;
    private String startTime;
    private String endTime;
    private int isDelete = MyConst.DELETE_NO;

    public Order(String orderId, int userId, String roomId, int orderStatus, String orderComments, double star, String orderTime, String startTime, String endTime, int isDelete) {
        this.orderId = orderId;
        this.userId = userId;
        this.roomId = roomId;
        this.orderStatus = orderStatus;
        this.orderComments = orderComments;
        this.star = star;
        this.orderTime = orderTime;
        this.startTime = startTime;
        this.endTime = endTime;
        this.isDelete = isDelete;
    }

    public Order() {
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId='" + orderId + '\'' +
                ", userId='" + userId + '\'' +
                ", roomId='" + roomId + '\'' +
                ", orderStatus=" + orderStatus +
                ", orderComments='" + orderComments + '\'' +
                ", star=" + star +
                ", orderTime='" + orderTime + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", isDelete=" + isDelete +
                '}';
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderComments() {
        return orderComments;
    }

    public void setOrderComments(String orderComments) {
        this.orderComments = orderComments;
    }

    public double getStar() {
        return star;
    }

    public void setStar(double star) {
        this.star = star;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }
}
